package com.thwcompany.thread;
/**
 * Created by IntelliJ IDEA2021.3
 * @Author: Tenghw
 * @Date: 2022/04/06  10:59
 * @Description:
 */
public class RunnableOneImp implements Runnable{
    @Override
    public void run() {
      for(int a=0;a<6;a++){
          System.out.println("当前线程为："+Thread.currentThread().getName()+",a="+a);
//          try {
//              Thread.sleep(1000);
//          } catch (InterruptedException e) {
//              e.printStackTrace();
//          }
      }
    }
}
